﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SystemLYH.API.Application.Command.ReservoirCommand
{
    public class ReservoirUpdateCommand:IRequest<int>
    {
        /// <summary>
        /// 修改库区Id
        /// </summary>
        public int ReservoirId { get; set; }
        /// <summary>
        /// 库区名称
        /// </summary>
        public string? ReservoirName { get; set; }
        /// <summary>
        /// 库区编号
        /// </summary>
        public string? ReservoirNumber { get; set; }
        /// <summary>
        /// 库区面积
        /// </summary>
        public string? ReservoirArea { get; set; }
        /// <summary>
        /// 仓库Id外键
        /// </summary>
        public string? WarehouseID { get; set; }
        /// <summary>
        /// 库区备注
        /// </summary>
        public string? ReservoirRemark { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelReservoir { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; } = "李子坤";
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }=DateTime.Now.ToUniversalTime();
    }
}
